package com.example.service.impl;

import com.example.DAO.AdminuserDAO;
import com.example.entity.Adminuser;
import com.example.service.AdminuserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
@Service
public class AdminuserServiceImpl implements AdminuserService {
    @Resource
    AdminuserDAO adminuserDAO;
    @Override
    public Adminuser findAdmin(Adminuser adminuser) {
        return adminuserDAO.findAdmin(adminuser);
    }
}
